﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Freejobber.Core.Data
{
    public partial class tbl_city
    {
        public void DeleteUserCity()
        {
            db_freejobberEntities entity = db_freejobberEntities.GetConnecton();
            entity.tbl_city.DeleteObject(this);
            entity.SaveChanges();
            
        }
        
        public void GetUserCities()
        {
           /* db_freejobberEntities entity = new db_freejobberEntities();
            entity.tbl_Users..tbl_Users.Select(x=>x.tbl_city.
            entity.SaveChanges();*/
        }
    } 
}
